package pojo;

import anno.Column;
import anno.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table("tb_courses")
public class Course {
    @Column(isId = true)
    private Integer id;
    private String courseName;
    private Integer teacherId;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private LocalDateTime createdAt;
    private String studentIds; // JSON 字符串
    private String courseImage;
}